package com.dmwork.service.customer.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dmwork.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理员用户信息表
 * </p>
 *
 * @author 李天
 * @since 2021-05-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_admin_customer")
@ApiModel(value="AdminCustomer对象", description="管理员用户信息表")
public class AdminCustomer extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "角色")
    private String roles;

    @ApiModelProperty(value = "头像url")
    private String avatar;

    @TableField("is_deleted")
    @TableLogic
    private Integer deleted;


}
